<?php
	include "TopSdk.php";
	date_default_timezone_set('Asia/Shanghai'); 

	$httpdns = new HttpdnsGetRequest;
	//$client->gatewayUrl = "http://gw.api.tbsandbox.com/router/rest";	
	//var_dump($client->execute($httpdns,"6100e23657fb0b2d0c78568e55a3031134be9a3a5d4b3a365753805"));
	$req = new AlibabaAliqinFcSmsNumSendRequest;
	$req->setExtend("123456");
	$req->setSmsType("normal");
	$req->setSmsFreeSignName("速尔跑步");
	$req->setSmsParam('{"code":"1234","product":"速尔跑步"}');
	$req->setRecNum("15980288673");
	$req->setSmsTemplateCode("SMS_5365735");
	$resp = $client->execute($req);
//	var_dump(isset($resp->code));
	var_dump($resp);
	
/*	错误
	  public 'code' => int 15
	  public 'msg' => string 'Remote service error' (length=20)
	  public 'sub_code' => string 'isv.BUSINESS_LIMIT_CONTROL' (length=26)
	  public 'sub_msg' => string '瑙﹀彂涓氬姟娴佹帶' (length=18)
	  public 'request_id' => string 'z27o3idspmyw' (length=12)
	正确
	  public 'result' => 
		object(stdClass)[8]
		  public 'err_code' => string '0' (length=1)
		  public 'model' => string '100936179370^1101389671847' (length=26)
		  public 'success' => boolean true
		  public 'request_id' => string '14sqioq1a8rme' (length=13)	
*/


?>